<!DOCTYPE html>
<html lang="eng">
<head>
<title>Manager Man Page</title>
</head>
<BODY><PRE>
MANAGER(1)                       User Commands                      MANAGER(1)

<B>NAME</B>
       manager - Manager program for services

<B>SYNOPSIS</B>
       <B>manager [options] [commands]</B>
              [<I>--args arguments</I>] [<I>--console</I>] [<I>--daemon</I>] [<I>--heartBeat interval</I>]
              [<I>--home directory</I>] [<I>--log logFile:level</I>] [<I>--name  Service  name</I>]
              [<I>--pidfile path</I>] [<I>--program Service program</I>]

<B>DESCRIPTION</B>
       The manager program is used to configure the running of system services
       (daemons).   Manager  provides  a  generic  way  to  install/uninstall,
       enable/disable,  start/stop, and run a service, regardless of the oper-
       ating system. When used to run a service, it  starts  the  service  and
       then  watches  over it, to restart it should it fail. Manager also pro-
       vides general management commands to enable, disable, start,  and  stop
       appweb.

<B>COMMANDS</B>
       <B>disable</B>
              Disable  the service from automatically starting when the system
              is booted.

       <B>enable </B>Enable the service to start automatically on system boot.

       <B>install</B>
              Install the service.

       <B>run    </B>Run the service and monitor its execution. Manager will automat-
              ically  restart  the service should it fail.  Manager will block
              unless it is invoked with --daemon.

       <B>start  </B>Start the service.

       <B>stop   </B>Stop the service.

       <B>uninstall</B>
              Uninstall the service.

<B>OPTIONS</B>
       <B>--args arguments</B>
              Arguments to use for the service program command  line  when  it
              starts.

       <B>--console</B>
              Windows specific option to allow the manager process to interact
              with the users desktop.

       <B>--daemon</B>
              Run the manager as a daemon process. This causes the manager  to
              detach from the current shell and run in the background.

       <B>--heartBeat interval</B>
              Windows  specific option to set the frequency in seconds for the
              manager to check on service.  This period should be short enough
              that  the  service will be quickly restarted should it fail, but
              not so short that the manager process consumes  significant  CPU
              resources.  If the service dies more than 30 times per hour, the
              manager will suspend restarting the service.

       <B>--home directory</B>
              Set the home directory in which to start the service.

       <B>--log logFile:level</B>
              Specify a file to use  for  log  messages.  The  level  argument
              defines  the  message  verbosity. Zero is the least and 9 is the
              most verbose.

       <B>--retries count</B>
              Number of times to restart the service per hour.

       <B>-v     </B>Output the product version number.

<B>REPORTING BUGS</B>
       Report bugs to dev@embedthis.com.

<B>COPYRIGHT</B>
       Copyright (C) Embedthis Software.

<B>SEE ALSO</B>
       appweb

manager                          November 2014                      MANAGER(1)
</PRE></BODY>
</html>